<html>
    <head>
        <script src="JS/jquery.js" type="text/javascript" charset="utf-8"></script>
        <script src="JS/jquery.js"></script>
		<link rel="stylesheet" href="CSS/global.css">	
		<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
		<script src="http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.1.3.js"></script>
		<script src="JS/slides.min.jquery.js"></script>        
<script type="text/javascript">
            var bit=0;
            var bit_1=0;
            var bit_2=0;
            var bit_3=0;
            var bit_4=0;
            var bit_5=0;
            var bit_6=0;
            $(document).find("[id^='link_1'],[id^='searchfilter']").live("click",function(){
    var toggle=this.id;
    if(toggle=="link_1" || toggle=="searchfilter")
        {
	    	if (bit==0)
		    	{
		            $('#searchfilter').css('background', 'url("images/downarrow.jpg")');
		            $("#search").toggle();
		            bit=bit+1;
		    	}else
			    	if(bit==1)
				    	{
            				$('#searchfilter').css('background', 'url("images/rightarrow.jpg")');
            				$("#search").toggle();
            				bit=0;
		    			}
    	}
    });
     $(document).find("[id^='link_3'],[id^='external']").live("click",function(){
    var toggle=this.id;
    if(toggle=="link_3" || toggle=="external")
        {
	    	if (bit_1==0)
		    	{
		            $('#external').css('background', 'url("images/downarrow.jpg")');
		            $("#ext").toggle();
		            bit_1=bit_1+1;
		    	}else
			    	if(bit_1==1)
				    	{
            				$('#external').css('background', 'url("images/rightarrow.jpg")');
            				$("#ext").toggle();
            				bit_1=0;
		    			}
    	}
    });

     $(document).find("[id^='link_4'],[id^='interiorf']").live("click",function(){
    var toggle=this.id;
    if(toggle=="link_4" || toggle=="interiorf")
        {
	    	if (bit_3==0)
		    	{
		            $('#interiorf').css('background', 'url("images/downarrow.jpg")');
		            $("#interiorfilter").toggle();
		            bit_3=bit_3+1;
		    	}else
			    	if(bit_3==1)
				    	{
            				$('#interiorf').css('background', 'url("images/rightarrow.jpg")');
            				$("#interiorfilter").toggle();
            				bit_3=0;
		    			}
    	}
    });
      $(document).find("[id^='link_5'],[id^='safety']").live("click",function(){
    var toggle=this.id;
    if(toggle=="link_5" || toggle=="safety")
        {
	    	if (bit_4==0)
		    	{
		            $('#safety').css('background', 'url("images/downarrow.jpg")');
		            $("#safetyfilter").toggle();
		            bit_4=bit_4+1;
		    	}else
			    	if(bit_4==1)
				    	{
            				$('#safety').css('background', 'url("images/rightarrow.jpg")');
            				$("#safetyfilter").toggle();
            				bit_4=0;
		    			}
    	}
    });
    $(document).find("[id^='link_6'],[id^='fuel']").live("click",function(){
    var toggle=this.id;
    if(toggle=="link_6" || toggle=="fuel")
        {
	    	if (bit_5==0)
		    	{
		            $('#fuel').css('background', 'url("images/downarrow.jpg")');
		            $("#fuelfilter").toggle();
		            bit_5=bit_5+1;
		    	}else
			    	if(bit_5==1)
				    	{
            				$('#fuel').css('background', 'url("images/rightarrow.jpg")');
            				$("#fuelfilter").toggle();
            				bit_5=0;
		    			}
    	}
    });
    $(document).find("[id^='link_7'],[id^='features']").live("click",function(){
    var toggle=this.id;
    if(toggle=="link_7" || toggle=="features")
        {
	    	if (bit_6==0)
		    	{
		            $('#features').css('background', 'url("images/downarrow.jpg")');
		            $("#featuresfilter").toggle();
		            bit_6=bit_6+1;
		    	}else
			    	if(bit_6==1)
				    	{
            				$('#features').css('background', 'url("images/rightarrow.jpg")');
            				$("#featuresfilter").toggle();
            				bit_6=0;
		    			}
    	}
    });
</script>
        <style type="text/css">
#content
{
    width:922px;
    float:left;
    background-color: #4b4b47;
    border:5px solid #333333;
}
#mcontent{
    width:auto;
    float:left;
    background-color:#1C1C1C;
}
.imageholder{
    width:910px;
    height:90px;
    background-color:#4b4b47;
    border-left:2px solid #66cccc;
    border-right: 2px solid #66cccc;
    border-bottom: 2px solid #66cccc;
}
#image{
    width:250px;
    height:200px;
}
#stock{
    float:right;
   color:#ffffff;
   margin-top:-18px;
   padding-top:17px;
   padding-right:10px;
   font-size:medium;

}
.stxt-bg
{
    background-color:#4b4b47;
    height:110px;
    border-radius:15px 15px 15px 15px;

}
#details{
     width:650px;
    background-color:#555550;
     margin-top:20px;
     height: 235px;
     padding-top: 5px;
}
#details1{
     width:auto;
     height: auto;
     background-color:#555550;
      
}
#detailMechanic{
     width:650px;
    background:#171717;
     margin-top:20px;
     padding-top: 5px;
     border-bottom: 1px solid #595758;
}

#detailext{
    width:650px;
    background:none repeat scroll 0 0 #171717;
     margin-top:20px;
     padding-top: 5px;
     border-bottom: 1px solid #595758;
}
#detailint{
    width:650px;
    background:none repeat scroll 0 0 #171717;
     margin-top:20px;
     padding-top: 5px;
     border-bottom: 1px solid #595758;

}
#detailsafety{
     width:650px;
    background:none repeat scroll 0 0 #171717;
     margin-top:20px;
     padding-top: 5px;
     border-bottom: 1px solid #595758;
}
#detailfuel{
    width:650px;
    background:none repeat scroll 0 0 #171717;
     margin-top:20px;
     padding-top: 5px;
     border-bottom: 1px solid #595758;
}
#detailfeatures{
     width:650px;
    background:none repeat scroll 0 0 #171717;
     margin-top:20px;
     padding-top: 5px;
     border-bottom: 1px solid #595758;
}
#condition{
     
    background:none repeat scroll 0 0 #171717;
     margin-top:20px;
     padding-top: 5px;
     border-bottom: 1px solid #595758;
}
#about
{
    font-family:tahoma;
    color:#000;
/*    height:25px;*/
    line-height:25px;
    font-weight:bold;
    font-size:11px;
    padding-left:6px;
    padding-right:6px;
    background:#555550;
    border-bottom:1px solid #ffffff;
    border-top: 1px dashed #ffffff;
   
}

#aboutheading
{
    font-family:tahoma;
    color:#ffffff;
    height:25px;
    line-height:25px;
    font-weight:normal;
    font-size:20px;
    padding-left:6px;
    padding-right:6px;
    background:#4b4b47;
    
    

}
#aboutheading1
{
    font-family:tahoma;
    color:#ffffff;
/*    height:25px;*/
    line-height:25px;
    font-weight:normal;
    font-size:20px;
    padding-left:6px;
    padding-right:6px;
    background:#4b4b47;
        margin-top: -30px;



}
#aboutheading2
{
    font-family:tahoma;
    color:#ffffff;
/*    height:25px;*/
    line-height:25px;
    font-weight:normal;
    font-size:20px;
    padding-left:6px;
    padding-right:6px;
    background:#171717;
        margin-top: -30px;



}

h3{
     font-family:Ariel;
    color:#ffffff;
    font-size:medium;
    font-weight:bold;
}
.list
{
    margin-top:-1px;
    padding-left:10px;
    padding-bottom: 1px;
    line-height:2em;

}
h2
{
    font-size:16px;
    font-weight:normal;
    color:#00cccc;
    padding-left:5px;
    height:35px;
    display:inline;
    text-decoration:none;
    line-height: 1.7em;
}
#heading{
    float:left;
  
}
#mechanical{
    background-color:#1C1C1C;
    width:15px;
    height:15px;
    margin-top:45px;
   background: url("images/rightarrow.jpg");
  

}
#external{
   background-color:#1C1C1C;
    width:15px;
    height:15px;
  
    background: url("images/rightarrow.jpg") no-repeat;


}
#other{
   background-color:#1C1C1C;
    width:15px;
    height:15px;
    float:left;
    background: url("images/rightarrow.jpg") no-repeat;


}
#interiorf{
     background-color:#1C1C1C;
    width:15px;
    height:15px;
   background: url("images/rightarrow.jpg");

}
#interior{
     background-color:#ffcc00;
    width:15px;
    height:15px;
    
}
#fuel{
   background-color:#1C1C1C;
    width:15px;
    height:15px;
   background: url("images/rightarrow.jpg");
}
#safety{
    background-color:#1C1C1C;
    width:15px;
    height:15px;
   background: url("images/rightarrow.jpg");
}

#features{
    background-color:#1C1C1C;
    width:15px;
    height:15px;
    margin-top:45px;
   background: url("images/rightarrow.jpg");
}
#filter1{
    color:#fff;
    display:inline;
    font-weight:bold;
    font-size:12px;
    margin-top:45px;

}
#details{
    background: #555550 no-repeat;
   
    width:auto;
}
 #searchcondition1{
    font-weight:normal;
    font-size:10px;
    color:#ffffff;
    text-decoration:none;
    margin-left:20px;
   
}
#image1{
     height:15px;
    width:15px;
    background: url("images/white.png");

}

.stxt-bg1{
    margin-top:2px;
    padding-top: 2px;
    height:2px;
    background:no-repeat #171717;
}
#pic{
     width:935px;
    background:none;
     margin-top:20px;
     padding-top: 5px;
    
}
#main_image
{
    width:100px;
    border:1px solid #595758;
    margin:2px;
    padding: 2px;
    float:left;
    height:200px;
}
#showcase{
    float:left;
    height:auto;
}
#link_1{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
}
#search{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
    
}
#link_3{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
}
#ext{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
}
#link_4{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
}
#interiorfilter{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
}
#link_5{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
}
#searchfilter{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
}
#fuelfilter{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
}
#link_6{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
}
#link_7{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
}
#featuresfilter{
    white-space: normal;
font-family: arial,helvetica;
font-size: 12px;
}

        </style>
    </head>

    <body>

<?php
	include_once 'dataBaseConnectivityFile.php';
	$sql_get=mysql_query("select * from stock where STOCK_ID=".$_REQUEST['stock_id']);
 			if (!$sql_get)
 			{
    			echo 'Could not run query: '.mysql_error();
			}

			while ($db_field=mysql_fetch_assoc($sql_get))
                {
                	$TITLE=$db_field["TITLE"];
                    $CONDITION=$db_field["CONDITION"];                    
                    $MAKE=$db_field["MAKE"];
                    $BODY_STYLE=$db_field["BODY_STYLE"];
                    $START_YEAR=$db_field["START_YEAR"];
					$END_YEAR=$db_field["END_YEAR"];
					$MILEAGE=$db_field["MILEAGE"];
					$TRANSMISSION=$db_field["TRANSMISSION"];
					$DRIVE_TRAIN=$db_field["DRIVE_TRAIN"];
					$EXTERIOR_COLOR=$db_field["EXTERIOR_COLOR"];
					$INTERIOR_COLOR=$db_field["INTERIOR_COLOR"];
					$FUEL_TYPE=$db_field["FUEL_TYPE"];
					$CITY_MILES_PER_GALLON=$db_field["CITY_MILES_PER_GALLON"];
					$HIGHWAY_MILES_PER_GALLON=$db_field["HIGHWAY_MILES_PER_GALLON"];            
                    $get_status=$db_field["STATUS"];
                    $PRICE=$db_field["PRICE"];
                    $CONTACT_NO=$db_field["CONTACT_NO"];
					$MODEL_NUMBER=$db_field["MODEL_NUMBER"];
					$ENGINE=$db_field["ENGINE"]; 
					$IMAGE=$db_field["IMAGE_PATH"];
                    $VIN=$db_field["VIN"];
                }		
?>
       
<div id="content">    
<div id="main">
    <div class="stxt-bg">
    <div class="imageholder">
        <h4><?php echo $MODEL_NUMBER ." ". $BODY_STYLE ?></h4>
        <div id="stock"><strong><?php echo $get_status ?></strong></div>
        <label for="CarName" id="carname"><?php echo $MODEL_NUMBER?> <?php echo $BODY_STYLE?></label>
    </div>
        </div>
     <?php include_once 'viewDetailSidebar.php';?>
    <div style="width: 200px;height: 200px"><img style="border-style: groove;" src="<?php echo $IMAGE?>" width="200px" height="200px"></div>

<div>
<?php include_once 'Slider.php';?>
</div>
    <br>
    <br></br>
    <span id="tab1" style="cursor: pointer;color: #00cccc;">About this Audi</span>
    <span id="tab2" style="cursor: pointer;color: #fff;display:none">Buyer Resources</span>
<br><br><br><br><div id="parent_div" style="height: auto;border: medium solid rgb(51, 51, 51)">    
    <div id="details">
        <div id="aboutheading">About</div>
        <div id="about"><h2 style="color:#ffffff"> <strong>VIN#:</strong><?php echo $VIN ?></h2>&nbsp;<h2 style="color:#ffffff"><strong>Model Number:&nbsp;</strong><?php echo $MODEL_NUMBER?></h2>&nbsp;<h2 style="color:#ffffff"><strong> Stock_ID#:</strong>&nbsp;<?php echo $_REQUEST["stock_id"];?></h2>
</div>

<div class="col-1" style="height: auto;">
<table border="0">
<tr align="left">
	<td align="right">
    	<label for="condition"><strong>Condition:</strong></label>
	</td>
	<td align="left">
		<label for="ConditionData">&nbsp;<?php echo $CONDITION?></label><br>	
	</td>
</tr>

<tr>
	<td  align="right">
		<label for="engine"><strong>Engine:</strong></label>
	</td>
	<td align="left">
		<label for="EngineData">&nbsp;<?php echo $ENGINE?></label><br>	
	</td>
</tr>

<tr>
	<td  align="right">
		<label for="transmission"><strong>Transmission:</strong></label>
	</td>
	<td align="left">
		<label for="TansmissionData">&nbsp;<?php echo $TRANSMISSION?></label><br>
	</td>
</tr>
     
<tr>
	<td  align="right">
		<label for="milage"><strong>Milage:</strong></label>
	</td>
	<td align="left">
		<label for="MilageData">&nbsp;<?php echo $MILEAGE?> Miles</label><br>
	</td>
</tr>

<tr>
	<td  align="right">
		<label for="divertrain"><strong>Dive train:</strong></label>
	</td>
	<td align="left">
		<label for="DivetrainData">&nbsp;<?php echo $DRIVE_TRAIN?></label><br>
	</td>
</tr>              
              
<tr>
	<td  align="right">
		<label for="exterior"><strong>Exterior:&nbsp;</strong></label>
	</td>
	<td align="left">
		<div id="exterior" style="width:12px;height:12px;background-color: <?php if($EXTERIOR_COLOR=="" || $EXTERIOR_COLOR=="other"){echo "transparent";}else echo $EXTERIOR_COLOR?>;border:1px solid white;display:block;"></div><label for="ExteriorData">&nbsp;<?php echo $EXTERIOR_COLOR?></label><br>
	</td>
</tr>              

<tr>
	<td  align="right">
		<label for="interior"><strong>Interior:&nbsp;&nbsp;</strong></label>
	</td>
	<td align="left">
		<div id="interior" style="width:12px;height:12px;background-color: <?php if($INTERIOR_COLOR=="" || $INTERIOR_COLOR=="other"){echo "transparent";}else echo $INTERIOR_COLOR?>;border:1px solid white;display:block;"></div><label for="InteriorData">&nbsp<?php echo $INTERIOR_COLOR?></label><br>
	</td>
</tr>

<tr>
	<td align="right">
		<label for="interior"><strong>Price $:</strong></label> 
	</td>
	<td align="left">
		<?php echo $PRICE?>
	</td>
</tr>              
</table>
</div>
 </div>
    <div id="details1"><br>
       <div id="aboutheading">Overview Information</div>
        <div id="about"></div>    
<p>
	<?php 			
			$sql_get11=mysql_query("select * from overview where STOCK_ID=".$_REQUEST['stock_id']);
 			if (!$sql_get11)
 			{
    			echo 'Could not run query: '.mysql_error();
			}

			while ($db_field11=mysql_fetch_assoc($sql_get11))
                {?>
					<?php echo $db_field11["VEHICLE_OVERVIEW"];?>
               <?php  }?>
</p>

        
	</div>
</br></br>
<div id="aboutheading1">Features And Specifications</div>
      	<div id="about"></div>
      
       
<div class="content">
   <table border="0" id="showcase" style="float:left">
    	<tr align="left">
        	<td align="left" id="searchfilter">
            </td>
            <td align="left" id="filter">
            	<span id="link_1"style="cursor:pointer">Mechanical</span>
            </td>
        </tr>
        <tr>
            <td></td>
			<td align="left" id="search" style="display:none;">
<?php 			
			$sql_get2=mysql_query("select * from mechanics where STOCK_ID=".$_REQUEST['stock_id']);
 			if (!$sql_get2)
 			{
    			echo 'Could not run query: '.mysql_error();
			}

			while ($db_field2=mysql_fetch_assoc($sql_get2))
                {?>
					<li><?php echo $db_field2["MECHANICAL"]; ?></li>
               <?php  }?>
            </td>
         </tr>
    </table>
</div>

<div class="content">
 <table border="0" id="showcase">
    	<tr align="left"><br>
        	<td align="left" id="external"><br>
            </td>
            <td align="left" id="filter">
               <span id="link_3" style="cursor:pointer">Exterior</span>
            </td>
        </tr>
        <tr>
            <td></td>
	<td align="left" id="ext" style="display:none">
<?php 			
			$sql_get3=mysql_query("select * from exterior where STOCK_ID=".$_REQUEST['stock_id']);
 			if (!$sql_get3)
 			{
    			echo 'Could not run query: '.mysql_error();
			}

			while ($db_field3=mysql_fetch_assoc($sql_get3))
                {?>
					<li><?php echo $db_field3["EXTERIOR"]; ?></li>
               <?php  }?>
                </td>
         </tr>

</table>
</div>

<div class="content">
 <table border="0" id="showcase">
    	<tr align="left"><br>
        	<td align="left" id="interiorf"><br>
            </td>
            <td align="left" id="filter">
               <span id="link_4" style="cursor:pointer">Interior</span>
            </td>
        </tr>
        <tr>
            <td></td>
	<td align="left" id="interiorfilter" style="display:none">
<?php 			
			$sql_get4=mysql_query("select * from interior where STOCK_ID=".$_REQUEST['stock_id']);
 			if (!$sql_get4)
 			{
    			echo 'Could not run query: '.mysql_error();
			}

			while ($db_field4=mysql_fetch_assoc($sql_get4))
                {?>
					<li><?php echo $db_field4["INTERIOR"]; ?></li>
               <?php  }?>
                </td>
         </tr>

</table>
</div>

<div class="content">
 <table border="0" id="showcase">
    	<tr align="left"><br>
        	<td align="left" id="safety"><br>
            </td>
            <td align="left" id="filter">
               <span id="link_5" style="cursor:pointer">Safety</span>
            </td>
        </tr>
        <tr>
            <td></td>
	<td align="left" id="safetyfilter" style="display:none">
<?php 			
			$sql_get5=mysql_query("select * from safety where STOCK_ID=".$_REQUEST['stock_id']);
 			if (!$sql_get5)
 			{
    			echo 'Could not run query: '.mysql_error();
			}

			while ($db_field5=mysql_fetch_assoc($sql_get5))
                {?>
					<li><?php echo $db_field5["SAFETY_DESCRIPTION"]; ?></li>
               <?php  }?>	
                </td>
         </tr>

</table>
</div>
<!--</div>-->
<div class="content">
 <table border="0" id="showcase">
    	<tr align="left"><br>
        	<td align="left" id="fuel"><br>
            </td>
            <td align="left" id="filter">
               <span id="link_6" style="cursor:pointer">EPA Fuel Economy And Specification</span>
            </td>
        </tr>
        <tr>
            <td></td>
	<td align="left" id="fuelfilter" style="display:none">
<?php 			
			$sql_get6=mysql_query("select * from fuel_specification where STOCK_ID=".$_REQUEST['stock_id']);
 			if (!$sql_get6)
 			{
    			echo 'Could not run query: '.mysql_error();
			}

			while ($db_field6=mysql_fetch_assoc($sql_get6))
                {?>
					<li><?php echo $db_field6["FUEL_SPECIFICATION_DESCRIPTION"]; ?></li>
               <?php  }?>	
                </td>
         </tr>
</table>
</div>

<div class="content">
 <table border="0" id="showcase">
    	<tr align="left"><br>
        	<td align="left" id="features"><br>
            </td>
            <td align="left" id="filter">
               <span id="link_7" style="cursor:pointer">Additional Features</span>
            </td>
        </tr>
        <tr>
            <td></td>
	<td align="left" id="featuresfilter" style="display:none">
<?php 			
			$sql_get7=mysql_query("select * from additional_features where STOCK_ID=".$_REQUEST['stock_id']);
 			if (!$sql_get7)
 			{
    			echo 'Could not run query: '.mysql_error();
			}

			while ($db_field7=mysql_fetch_assoc($sql_get7))
                {?>
					<li><?php echo $db_field7["ADDITIONAL_FEATURE_DESCRIPTION"]; ?></li>
               <?php  }?>	
                </td>
         </tr>

</table>
</div>
</br>

<div class="content"><div id="aboutheading">Vehicle Condition</div>
        <div id="about"></div></div>
      <br><br><br>
<table border="1px solid #4b4b47" cellpadding="5" cellspacing="0" width="600" align="center">

                    <th><strong> Service History</strong></th>                 
                    <th><strong> Condition Report</strong></th>
                    <th><strong> Tires & Wheels</strong></th>
				    <?php
	    	            include_once 'dataBaseConnectivityFile.php'; 
						$sql_get=mysql_query("SELECT * from vehicle_condition where STOCK_ID=".$_REQUEST['stock_id']);
			            while ($db_field=mysql_fetch_assoc($sql_get))
			                {
			                    $SERVICE_HISTORY=$db_field["SERVICE_HISTORY"];
			                    $CONDITION_REPORT=$db_field["CONDITION_REPORT"];
			                    $TIRES_WHEELS=$db_field["TIRES_WHEELS"];
                    
         		  ?>
 			    <tr>
			        <td><?php echo $SERVICE_HISTORY    ?></td>
			        <td><?php echo $CONDITION_REPORT  ?></td>
			        <td><?php echo $TIRES_WHEELS  ?></td>
			     </tr>   
			        <?php 
			                }
			                ?>                  
</table>
</div>

<div id="parent_div2" style="height: auto;border: solid;border-color: #333333;display: none;">
  <div id="aboutheading">Overview Information</div>
        <div id="about"></div>
<p>
	Hello, Welcome to your online ebay source for the best deals anywhere on cars! Palm Beach Motorsports of Boca Raton. We have been involved with Vehicle Acquisitions and Sales for a combined 20 years now. We encourage you to take a look at our 100% positive Seller feedback. We have reached over 1500 feedback for your security and confidence to buy online! We encourage your visit to be friendly, casual and pressure-free. No sales-men, just take a look and bid. Here at Palm Beach Motorsports we are determined to deliver late model automobiles that are low mileage, great condition, affordable, and covered under remaining factory warranty. Fine cars, low prices and straight talk - that's our promise to every customer! If you can't find what you are looking for please let us know! Searching and locating hard to find vehicles, new or used, is one of our main specialties. We highly encourage all serious buyers to contact us NOW if you are interested in purchasing this vehicle. Our #1 goal is to exceed your expectations and we promise a smooth and pleasant transaction. Our lines are open 24/7! Please feel free to join the thousands who have bought from us over the years on and off line.
</p>

  <div id="aboutheading">Shipping</div>
        <div id="about"></div>
        <br><a href="http://www.msccy.com/" style="margin-left:10px"><img src="images/logo.jpg"></a>
    
  <div id="aboutheading">Terms and Sales</div>
        <div id="about"></div>
<p>
ALL SALES WILL HAVE AN ADDITIONAL $275.00 DEALER FEE. PLEASE CALL BEFORE MAKING ANY AIRLINE FLIGHT ARRANGEMENTS. FOR YOUR SECURITY: ONLY CORRESPOND EMAILS WITH THE EMAIL ADDRESS "PALMBEACHMOTORSPORTS@GMAIL.COM". TO VIEW OUR ENTIRE TERM OF SALE PLEASE CLICK ON THE LINK BELOW "DETAILED TERMS OF SALE". THANKS AND GOOD LUCK BIDDING!
</p>    
</div>
<div id="pic">
<?php
	$query="select * from vehicle_image where STOCK_ID=".$_REQUEST['stock_id']." order by VEHICLE_IMAGE_ID asc";
	$result=mysql_query($query);
 
	$cols=2;
	echo "<table align=center border=0>";
	do{
		
		echo "<tr>";
		for($i=1;$i<=$cols;$i++)
		{
			$row=mysql_fetch_array($result);
			if($row){
				$img = $row['PATH'];
				$VEHICLE_IMAGE_ID=$row['VEHICLE_IMAGE_ID'];
 ?>
        <td>
            <table align="center">
                <tr valign="top">
                    <td><a href="<?php echo $img?>"><img width="400px" height="250px" src="<?php echo $img?>" /></a></td>
                </tr>
                <td width="50">&nbsp;</td>
           </table>
        </td>
<?php
			}
			else{
				echo "<td>&nbsp;</td>";
			}
		}
	} while($row);
	echo "</table>";
 ?>
</div>
</div>
</div>
       
</body>
</html>

<script type="text/javascript">
document.getElementById("tab2").onclick=function()
{
	$("#parent_div").hide();
	$("#parent_div2").show();	
	document.getElementById("tab2").style.color="#00cccc";
	document.getElementById("tab1").style.color="#fff";	
}
document.getElementById("tab1").onclick=function()
{
	$("#parent_div").show();
	$("#parent_div2").hide();	
	document.getElementById("tab1").style.color="#00cccc";
	document.getElementById("tab2").style.color="#fff";	
}
</script>
